package com.sun.showcase.biz.config.tenant;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "tenant")
public class TenantProperties {
    private boolean enable;
    private String defaultDatabase;

    public boolean isEnable() {
        return enable;
    }

    public String getDefaultDatabase() {
        return defaultDatabase;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public void setDefaultDatabase(String defaultDatabase) {
        this.defaultDatabase = defaultDatabase;
    }
}
